package com.example.pc.day_10_8;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class YouReceiver extends BroadcastReceiver {

    private String TAG = MyReceiver.class.getSimpleName();
    @Override
    public void onReceive(Context context, Intent intent) {

        //获取上一个优先级较高的接收者 传递下来的数据
        String resultData = getResultData();
        Log.w(TAG, "YouReceiver  onReceive: " +resultData);
    }
}
